<?php

/**
 * Generated Model class.
 */
class Base_TurnPostRow extends Db_Row
{

    /**
     * Set new value for turn_post.id column in current Row.
     * 
     * @param int $IdFromTurnPostRow
     * @return void
     */
    public function setId($Id)
    {
        $this->__set("id", $Id);
    }

    /**
     * Return turn_post.id column value in current Row.
     * 
     * @return int
     */
    public function getId()
    {
        return $this->__get("id");
    }

    /**
     * Set new value for turn_post.turn_id column in current Row.
     * 
     * @param int $TurnIdFromTurnPostRow
     * @return void
     */
    public function setTurnId($TurnId)
    {
        $this->__set("turn_id", $TurnId);
    }

    /**
     * Return turn_post.turn_id column value in current Row.
     * 
     * @return int
     */
    public function getTurnId()
    {
        return $this->__get("turn_id");
    }

    /**
     * Return parent row from table turn where turn_post.turn_id = turn.id
     * 
     * @param Db_Select $selectFromTurn
     * @return TurnRow
     */
    public function getTurnRowByTurnId($select = null)
    {
        return $this->findParentRow('TurnPeer', null, $select);
    }

    /**
     * Set new value for turn_post.post_id column in current Row.
     * 
     * @param int $PostIdFromTurnPostRow
     * @return void
     */
    public function setPostId($PostId)
    {
        $this->__set("post_id", $PostId);
    }

    /**
     * Return turn_post.post_id column value in current Row.
     * 
     * @return int
     */
    public function getPostId()
    {
        return $this->__get("post_id");
    }

    /**
     * Return parent row from table post where turn_post.post_id = post.id
     * 
     * @param Db_Select $selectFromPost
     * @return PostRow
     */
    public function getPostRowByPostId($select = null)
    {
        return $this->findParentRow('PostPeer', null, $select);
    }

    /**
     * Set new value for turn_post.user_id column in current Row.
     * 
     * @param int $UserIdFromTurnPostRow
     * @return void
     */
    public function setUserId($UserId)
    {
        $this->__set("user_id", $UserId);
    }

    /**
     * Return turn_post.user_id column value in current Row.
     * 
     * @return int
     */
    public function getUserId()
    {
        return $this->__get("user_id");
    }

    /**
     * Return parent row from table user where turn_post.user_id = user.id
     * 
     * @param Db_Select $selectFromUser
     * @return UserRow
     */
    public function getUserRowByUserId($select = null)
    {
        return $this->findParentRow('UserPeer', null, $select);
    }

    /**
     * Set new value for turn_post.post_date column in current Row.
     * 
     * @param date $PostDateFromTurnPostRow
     * @return void
     */
    public function setPostDate($PostDate)
    {
        $this->__set("post_date", $PostDate);
    }

    /**
     * Return turn_post.post_date column value in current Row.
     * 
     * @return date
     */
    public function getPostDate()
    {
        return $this->__get("post_date");
    }

    /**
     * Set new value for turn_post.post_time column in current Row.
     * 
     * @param time $PostTimeFromTurnPostRow
     * @return void
     */
    public function setPostTime($PostTime)
    {
        $this->__set("post_time", $PostTime);
    }

    /**
     * Return turn_post.post_time column value in current Row.
     * 
     * @return time
     */
    public function getPostTime()
    {
        return $this->__get("post_time");
    }

    /**
     * Set new value for turn_post.post_datetime column in current Row.
     * 
     * @param datetime $PostDatetimeFromTurnPostRow
     * @return void
     */
    public function setPostDatetime($PostDatetime)
    {
        $this->__set("post_datetime", $PostDatetime);
    }

    /**
     * Return turn_post.post_datetime column value in current Row.
     * 
     * @return datetime
     */
    public function getPostDatetime()
    {
        return $this->__get("post_datetime");
    }

    /**
     * Set new value for turn_post.image column in current Row.
     * 
     * @param varchar $ImageFromTurnPostRow
     * @return void
     */
    public function setImage($Image)
    {
        $this->__set("image", $Image);
    }

    /**
     * Return turn_post.image column value in current Row.
     * 
     * @return varchar
     */
    public function getImage()
    {
        return $this->__get("image");
    }

    /**
     * Set new value for turn_post.text column in current Row.
     * 
     * @param varchar $TextFromTurnPostRow
     * @return void
     */
    public function setText($Text)
    {
        $this->__set("text", $Text);
    }

    /**
     * Return turn_post.text column value in current Row.
     * 
     * @return varchar
     */
    public function getText()
    {
        return $this->__get("text");
    }

    /**
     * Set new value for turn_post.is_posted column in current Row.
     * 
     * @param tinyint $IsPostedFromTurnPostRow
     * @return void
     */
    public function setIsPosted($IsPosted)
    {
        $this->__set("is_posted", $IsPosted);
    }

    /**
     * Return turn_post.is_posted column value in current Row.
     * 
     * @return tinyint
     */
    public function getIsPosted()
    {
        return $this->__get("is_posted");
    }

    /**
     * Set new value for turn_post.created_at column in current Row.
     * 
     * @param datetime $CreatedAtFromTurnPostRow
     * @return void
     */
    public function setCreatedAt($CreatedAt)
    {
        $this->__set("created_at", $CreatedAt);
    }

    /**
     * Return turn_post.created_at column value in current Row.
     * 
     * @return datetime
     */
    public function getCreatedAt()
    {
        return $this->__get("created_at");
    }

    /**
     * Set new value for turn_post.modified_at column in current Row.
     * 
     * @param timestamp $ModifiedAtFromTurnPostRow
     * @return void
     */
    public function setModifiedAt($ModifiedAt)
    {
        $this->__set("modified_at", $ModifiedAt);
    }

    /**
     * Return turn_post.modified_at column value in current Row.
     * 
     * @return timestamp
     */
    public function getModifiedAt()
    {
        return $this->__get("modified_at");
    }


}

